package com.zcf.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 运送费 餐盒费 表
 * </p>
 *
 * @author loupeng
 * @since 2019-02-25
 */
public class Freight extends Model<Freight> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "freight_id", type = IdType.NONE)
    private String freightId;
    /**
     * 运送费
     */
    private Double moneys;
    /**
     * 餐盒费
     */
    private Double boxMoney;

    public Double getCouponsize() {
        return couponsize;
    }

    public void setCouponsize(Double couponsize) {
        this.couponsize = couponsize;
    }

    /**
     * 返费比例
     */
    private Double couponsize;


    public String getFreightId() {
        return freightId;
    }

    public void setFreightId(String freightId) {
        this.freightId = freightId;
    }

    public Double getMoneys() {
        return moneys;
    }

    public void setMoneys(Double moneys) {
        this.moneys = moneys;
    }

    public Double getBoxMoney() {
        return boxMoney;
    }

    public void setBoxMoney(Double boxMoney) {
        this.boxMoney = boxMoney;
    }

    @Override
    protected Serializable pkVal() {
        return this.freightId;
    }

    @Override
    public String toString() {
        return "Freight{" +
        "freightId=" + freightId +
        ", moneys=" + moneys +
        ", boxMoney=" + boxMoney +
        "}";
    }
}
